|
|
|
|
|
|
|
progress bar to indicate the number of records processed so far. To do so, simply add an extra line of code or two to update the progress bar as you move to the next record. |
|
|
|
|
|
|
|
|
See "Adding a Status Bar to Your Program," p. 279 |
|
|
|
|
|
|
|
|
However, sometimes the progress bar is not an option. For example, Visual Basic's FileCopy command might take some time depending on the size of the file. However, FileCopy is a self-contained statement, so you have no place to insert the progress bar update code. In this case, a video would be an easy alternative. Before starting the file copy, display a video with the animation control. Windows 95 uses this trick when copying files and emptying the Recycle Bin. The users see the video and think that it is linked to the file copy in progress when, in fact, it is a separate process running by itself. |
|
|
|
|
|
|
|
|
See "Setting Up the Animation Control," p. 285 |
|
|
|
|
|
|
|
|
Although no steps guarantee a successful user interface, a bad user interface will certainly guarantee that no one will use the program. However, with the rapid pace of advances in computing, the definition of what is a "good" interface will surely keep changing. Consider, for example, the process of setting a VCR clock. Early VCR clocks were programmed with buttons and switches, but this method was soon replaced with onscreen displays. Now an over-the-air radio signal makes the whole process automatic in some models. Like the VCR example, your Visual Basic user interfaces will evolve over time, as the industry sets knew standards and you learn how to best meet your users' expectations. |
|
|
|
|
|
|
|
|
For more information on the topics dicussed in this chapter, check out the following chapters: |
|
|
|
|
|
|
|
|
If you want to learn about the different types of controls that are available, see Chapter 4, "Using Visual Basic's Default Controls." |
|
|
|
|
|
|
|
|
For more details on creating menus and other UI elements, see Chapter 6, "Giving More Control to the User: Menus and Toolbars." |
|
|
|
|
|
|
|
|
To find out additional information on creating your own ActiveX components with class modules, see Chapter 16, "Classes: Reusable Components." |
|
|
|
|
|
|
|
|
To understand how to develop an MDI application, see Chapter 17, "Multiple Document Interface Applications." |
|
|
|
|
|
|
|
|
To learn more details about designing user interfaces, see Chapter 19, "Using Visual Design Elements." |
|
|
|
|
|